﻿using System;
using System.Text;

namespace TestConsole
{
    class Program
    {
        static void Main(string[] args)
        {        
            var xxx = "1gdfgdsgsdfg289urfgnhdgdfghdjfgjkshgjdfgsdjgh34 ndfgdigdinfgjdnfk gjdfkngj__-23";
            var date = new DateTime(2021,7,8,1,1,1);
            var start = date.AddDays(-7);
            //var blen = (int)(xxx.Length / 2);
            //var a = xxx.Substring(0, blen);
            //var b = xxx.Substring(blen, xxx.Length - blen);
            //var crc32 = new CRC32Cls();
            //var x1 = crc32.GetCRC32Str(a);
            //var x2 = crc32.GetCRC32Str(b);
            //Console.WriteLine($"{to62HEX(x1)}{to62HEX(x2)}");
        }
        private static String to62HEX(ulong num)
        {            
            String chars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";

            StringBuilder sb = new StringBuilder();
            int remainder;

            while (num > 62 - 1)
            {
                remainder = (int)(num % 62);
                sb.Append(chars[remainder]);
                num = num / 62;
            }

            sb.Append(chars[(int)num]);
            return sb.ToString();
        }

        void xx() 
        {
            var 重量 = 1;
            var 单价 = 1;
            var 单价1 = 1;
            var 单价2 = 1;
            var 首重 = 1;
            var 续重 = 1;

            if (重量 <= 1)
            {
                单价 = 单价1;
            }
            else if (重量 <= 2)
            {

            }
            else if (重量 <= 3)
            {

            }
            else if (重量 <= 4)
            {

            }
            else if (重量 <= 5)
            {

            }
            else if (重量 <= 6)
            {

            }
            else if (重量 <= 7)
            {

            }
            else if (重量 <= 8)
            {

            }
            else if (重量 <= 9)
            {

            }
            else if (重量 <= 10)
            {

            }
            else 
            {
            }

        }
    }
}


